package com.qsq.newsmanager.enums;

/**
 * Created by lining on 2017/3/28.
 */
public enum InsertStatEnum {
    SUCCESS(1,"插入成功"),
    FAULT(0,"插入失败"),
    ERROR(-1,"系统异常")
    ;

    private int state;
    private String stateInfo;


    InsertStatEnum(int state, String stateInfo) {
        this.state = state;
        this.stateInfo = stateInfo;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getStateInfo() {
        return stateInfo;
    }

    public void setStateInfo(String stateInfo) {
        this.stateInfo = stateInfo;
    }
}
